<div class="page-sidebar" id="sidebar">
    <!-- Page Sidebar Header-->
    <div class="sidebar-header-wrapper">
        <input type="text" class="searchinput" />
        <i class="searchicon fa fa-search">
        </i>
        <div class="searchhelper">
            Search Reports, Charts, Emails or Notifications
        </div>
    </div>
    <!-- /Page Sidebar Header -->
    <!-- Sidebar Menu -->
    <ul class="nav sidebar-menu">
        <li>
            <a href="/{:config('name')}/">
                <i class="menu-icon glyphicon glyphicon-home">
                </i>
                <span class="menu-text">
                    后台首页
                </span>
            </a>
        </li>
{foreach $_menus_left as $v}
    {if !empty($v.sons)}
        <li>
            <a class="menu-dropdown" href="{$v.url}">
                <i class="menu-icon {$v.icon}">
                </i>
                <span class="menu-text">
                    {$v.name}
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu" style="display: none;">
            {foreach $v.sons as $v2}
                {if !empty($v2.sons)}
                <li class="">
                    <a class="menu-dropdown" href="{$v2.url}">
                        <span class="menu-text">
                            {$v2.name}
                        </span>
                        <i class="menu-expand">
                        </i>
                    </a>
                    <ul class="submenu" style="display: none;">
                    {foreach $v2.sons as $v3}
                        <li>
                            <a href="{$v3.url}">
                                <i class="menu-icon {$v3.icon}">
                                </i>
                                <span class="menu-text">
                                    {$v3.name}
                                </span>
                            </a>
                        </li>
                    {/foreach}
                    </ul>
                </li>
                {else /}
                <li>
                    <a href="{$v2.url}">
                        <span class="menu-text">
                            {$v2.name}
                        </span>
                    </a>
                </li>
                {/if}
            {/foreach}
            </ul>
        </li>
    {else /}
        <li>
            <a href="{$v.url}">
                <i class="menu-icon {$v.icon}">
                </i>
                <span class="menu-text">
                    {$v.name}
                </span>
            </a>
        </li>
    {/if}
{/foreach}
        <li>
            <a class="menu-dropdown" href="/">
                <i class="menu-icon fa fa-desktop">
                </i>
                <span class="menu-text">
                    系统功能
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="{:url(config('name').'/index/setting')}">
                        <span class="menu-text">
                            系统设置
                        </span>
                    </a>
                </li>
                <li>
                    <a class="menu-dropdown" href="/">
                        <span class="menu-text">
                            系统管理员
                        </span>
                        <i class="menu-expand">
                        </i>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="{:url(config('name').'/index/admin_user')}">
                                <i class="menu-icon fa fa-rocket">
                                </i>
                                <span class="menu-text">
                                    管理员列表
                                </span>
                            </a>
                        </li>
                        <li>
                            <a href="{:url(config('name').'/index/admin_group')}">
                                <i class="menu-icon glyphicon glyphicon-stats">
                                </i>
                                <span class="menu-text">
                                    管理员分组
                                </span>
                            </a>
                        </li>
                        <li>
                            <a href="/Home/Typicons">
                                <i class="menu-icon typcn typcn-location-outline">
                                </i>
                                <span class="menu-text">
                                    Typicons
                                </span>
                            </a>
                        </li>
                        <li>
                            <a href="/Home/WeatherIcons">
                                <i class="menu-icon wi wi-meteor">
                                </i>
                                <span class="menu-text">
                                    Weather Icons
                                </span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="{:url(config('name').'/system/menu')}">
                        <span class="menu-text">
                            菜单管理
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Tabs">
                        <span class="menu-text">
                            Tabs and Accordions
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Alerts">
                        <span class="menu-text">
                            Alerts and Tooltips
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Modals">
                        <span class="menu-text">
                            Modals and Wells
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Buttons">
                        <span class="menu-text">
                            Buttons
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/NestableList">
                        <span class="menu-text">
                            Nestable List
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/TreeView">
                        <span class="menu-text">
                            TreeView
                        </span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a class="menu-dropdown" href="/">
                <i class="menu-icon fa fa-table">
                </i>
                <span class="menu-text">
                    会员管理
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/SimpleTables">
                        <span class="menu-text">
                            会员列表
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/DataTables">
                        <span class="menu-text">
                            会员等级
                        </span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a class="menu-dropdown" href="/">
                <i class="menu-icon fa fa-pencil-square-o">
                </i>
                <span class="menu-text">
                    Forms
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/FormLayouts">
                        <span class="menu-text">
                            Form Layouts
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/FormInputs">
                        <span class="menu-text">
                            Form Inputs
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/DataPickers">
                        <span class="menu-text">
                            Data Pickers
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Wizards">
                        <span class="menu-text">
                            Wizards
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/FormValidation">
                        <span class="menu-text">
                            Form Vlidation
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/FormEditors">
                        <span class="menu-text">
                            Form Editors
                        </span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a class="menu-dropdown" href="/">
                <i class="menu-icon fa fa-bar-chart-o">
                </i>
                <span class="menu-text">
                    Charts
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/FlotCharts">
                        <span class="menu-text">
                            Flot Charts
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/MorrisCharts">
                        <span class="menu-text">
                            Morris Charts
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/SparklineCharts">
                        <span class="menu-text">
                            Sparkline Charts
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/EasyPieCharts">
                        <span class="menu-text">
                            Easy Pie Charts
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/ChartJS">
                        <span class="menu-text">
                            ChartJS
                        </span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a href="/Home/Profile">
                <i class="menu-icon fa fa-picture-o">
                </i>
                <span class="menu-text">
                    Profile
                </span>
            </a>
        </li>
        <li>
            <a class="menu-dropdown" href="/">
                <i class="menu-icon fa fa-envelope-o">
                </i>
                <span class="menu-text">
                    Mail
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/Inbox">
                        <span class="menu-text">
                            Inbox
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/ViewMessage">
                        <span class="menu-text">
                            View Message
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Compose">
                        <span class="menu-text">
                            ComposeMessage
                        </span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a href="/Home/Calendar">
                <i class="menu-icon fa fa-calendar">
                </i>
                <span class="menu-text">
                    Calendar
                </span>
            </a>
        </li>
        <li>
            <a class="menu-dropdown" href="/">
                <i class="menu-icon glyphicon glyphicon-paperclip">
                </i>
                <span class="menu-text">
                    Pages
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/Timeline">
                        <span class="menu-text">
                            Timeline
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/PricingTables">
                        <span class="menu-text">
                            Pricing Tables
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Invoice">
                        <span class="menu-text">
                            Invoice
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Account/Login">
                        <span class="menu-text">
                            Login
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Account/Register">
                        <span class="menu-text">
                            Register
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Account/Lock">
                        <span class="menu-text">
                            Lock Screen
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Typography">
                        <span class="menu-text">
                            Typography
                        </span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a class="menu-dropdown" href="/Home/Error404">
                <i class="menu-icon glyphicon glyphicon-link">
                </i>
                <span class="menu-text">
                    More Pages
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/Error404">
                        <span class="menu-text">
                            Error 404
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Error500">
                        <span class="menu-text">
                            Error 500
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Blank">
                        <span class="menu-text">
                            Blank Page
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Grid">
                        <span class="menu-text">
                            Grid
                        </span>
                    </a>
                </li>
                <li>
                    <a class="menu-dropdown" href="/">
                        <span class="menu-text">
                            Multi Level Menu
                        </span>
                        <i class="menu-expand">
                        </i>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="/">
                                <i class="menu-icon fa fa-camera">
                                </i>
                                <span class="menu-text">
                                    Level 3
                                </span>
                            </a>
                        </li>
                        <li>
                            <a class="menu-dropdown" href="/">
                                <i class="menu-icon fa fa-asterisk">
                                </i>
                                <span class="menu-text">
                                    Level 4
                                </span>
                                <i class="menu-expand">
                                </i>
                            </a>
                            <ul class="submenu">
                                <li>
                                    <a href="/">
                                        <i class="menu-icon fa fa-bolt">
                                        </i>
                                        <span class="menu-text">
                                            Some Item
                                        </span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/">
                                        <i class="menu-icon fa fa-bug">
                                        </i>
                                        <span class="menu-text">
                                            Another Item
                                        </span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </li>
        <li>
            <a class="menu-dropdown" href="/Home/RTL">
                <i class="menu-icon fa fa-align-right">
                </i>
                <span class="menu-text">
                    Right to Left
                </span>
                <i class="menu-expand">
                </i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="/Home/Arabic">
                        <span class="menu-text">
                            Arabic Layout
                        </span>
                    </a>
                </li>
                <li>
                    <a href="/Home/Persian">
                        <span class="menu-text">
                            Persian Layout
                        </span>
                    </a>
                </li>
            </ul>
        </li>
    </ul>
    <!-- /Sidebar Menu -->
</div>